<?php

namespace app\admin\validate;
use think\Validate;
/**
 * 设置模型
 */
class AdminVotingInformation extends Validate{

    protected $rule = array(
        'content' => 'require',
        'title'=>'require',
    );
    protected $message = array(
        'title.require'    	=> '标题必须填写',
        'content.require'    	=> '内容必須填寫',
    );
}